<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>查看物流</title>
    <link rel="stylesheet" href="../../static/css/common/adaptor.css">
    <link rel="stylesheet" href="../../static/css/common/common.css">
    <link rel="stylesheet" href="../../static/css/me/logistics.css">
</head>

<body>
    <div class="layout">
        <div class="header"><span>查看物流</span>
            <div class="backArrow"></div>
        </div>
        <div class="logisticsDetail clearfix">
            <!-- 动态渲染 -->
        </div>
    </div>
    <script type="text/template" id="logisticsDetail">
        <div class="mainLogistics">
            <div class="productPic">
                <img src="" alt="">
            </div>
            <div class="mainText">
                {{if logisticsDetail[0].status===0}}
                <div class="status clearfix"><span class="left">物流状态</span><span class="right">运送中</span></div>
                {{/if}} {{if logisticsDetail[0].status===1}}
                <div class="status clearfix"><span class="left">物流状态</span><span class="right">已签收</span></div>
                {{/if}}
                <div class="source clearfix"><span class="left">运程来源：</span><span class="right">{{logisticsDetail[0].courier}}</span></div>
                <div class="logNum clearfix"><span class="left">运单编号：</span><span class="right">{{logisticsDetail[0].courierNo}}</span></div>
                {{if logisticsDetail[0].tel}}
                <div class="tel clearfix"><span class="left">官方电话：</span class="right"><span>{{logisticsDetail[0].tel}}</span></div>
                {{/if}} {{if !logisticsDetail[0].tel}}
                <div class="tel clearfix"><span class="left">官方电话：</span class="right"><span>暂无</span></div>
                {{/if}}
            </div>
        </div>
        {{if logisticsDetail[0].list}}
        <div class="placeDetail">
            <div class="head">
                <div class="icon">物流跟踪</div>
            </div>
            <div class="placeList">
                {{each logisticsDetail[0].list as item index}}
                <div class="placeItem">
                    <div class="placeMsg">{{item.msg}}</div>
                    <div class="date">{{item.time}}</div>
                    <div class="point"></div>
                </div>
                {{/each}}
                <div class="line"></div>
            </div>
        </div>
        {{/if}}
        {{if !logisticsDetail[0].list}}
        <div class="emptyMsg">
            <div class="msgIcon"></div>
            <div class="msgText">
                <div class="big">暂无物流信息</div>
            </div>
        </div>
        {{/if}}
    </script>
    <script src="../../static/assets/jquery/jquery.min.js"></script>
    <script src="../../static/assets/art-template/template.js"></script>
    <script src="../../static/js/config/tools.js"></script>
    <script src="../../static/js/config/config.js"></script>
    <script src="../../static/js/me/logistics.js"></script>
</body>

</html>